﻿using KaraKulak.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace KaraKulak
{
    public partial class index : System.Web.UI.Page
    {
        KaraKulakEntities db = new KaraKulakEntities();
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!Page.IsPostBack)
            {
                RptUrun.DataSource = db.Urunler.ToList().OrderBy(x => x.id);
            RptUrun.DataBind();

                RptSss.DataSource = db.sss.ToList().OrderBy(x => x.id);
                RptSss.DataBind();
            }
        }

     
    }
}